...
new Vue({
    el: '#app',
    data() {
      return {
        header: 'Vuex App'
      }
    },
    computed: {
      welcome() {
        return store.getters.msg;
      },
      counter() {
        return store.getters.count;
      }
    },
    methods: {
      increment() {
        store.dispatch('increment', 10);
      }

    }
});
...
